package com.example.salesystem.service;

import com.example.salesystem.model.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.salesystem.model.pageModel.PageQuery;
import com.example.salesystem.model.pageModel.PageResult;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lishuo
 * @since 2024-05-18
 */
public interface IProductService extends IService<Product> {

    /**
     * 分页查询商品列表
     * @param pageQuery
     * @return
     */
    PageResult<Product> getProductsByPage(PageQuery pageQuery);
}
